[paket]
tanim   = GPU destekli terminal
paketci = milisarge
grup    = sistem
url     = https://github.com/jwilm/alacritty

[gerek]
derleme = rust fontconfig libxcb python
calisma = librsvg

[kaynak]
github  = alacritty/alacritty

[sha256]
1      = 750c294d384d23f1dfc30e9105380e4194507b0828ac91d8ffd94c9bbc18d6c3

[derle]
betik  = env CARGO_INCREMENTAL=0 cargo build --release --locked

[pakur]
betik  = install -D -m644 "extra/linux/Alacritty.desktop" "$PKG/usr/share/applications/Alacritty.desktop" 
betik  = install -D -m755 "target/release/alacritty" "$PKG/usr/bin/alacritty"
betik  = install -D -m644 "extra/alacritty.man" "$PKG/usr/share/man/man1/alacritty.1"
betik  = install -D -m644 "extra/linux/io.alacritty.Alacritty.appdata.xml" "$PKG/usr/share/appdata/io.alacritty.Alacritty.appdata.xml"
betik  = install -D -m644 "alacritty.yml" "$PKG/etc/xdg/alacritty/alacritty.yml"
betik  = install -D -m644 "extra/completions/alacritty.bash" "$PKG/usr/share/bash-completion/completions/alacritty"
betik  = install -D -m644 "extra/completions/_alacritty" "$PKG/usr/share/zsh/site-functions/_alacritty"
betik  = install -D -m644 "extra/completions/alacritty.fish" "$PKG/usr/share/fish/vendor_completions.d/alacritty.fish"
betik  = install -D -m644 "extra/logo/alacritty-term.svg" "$PKG/usr/share/pixmaps/Alacritty.svg"
betik  = install -D -m644 "extra/alacritty.info" "$PKG/usr/share/terminfo/a/alacritty.info"
